package auto.app.controller.from.rule;

import antlr.collections.impl.LList;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "设置接口权限")
public class RuleApiFrom {
    /**
     * 角色ID
     */
    @ApiModelProperty("角色ID")
    @NotNull(message = "角色ID不能为空")
    private Integer ruleId;

    /**
     * 接口ID集合
     */
    @ApiModelProperty("接口ID集合")
    private List<Integer> value;
}
